package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.base.entity.CalcinationPurifyWetElectricity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.model.ResultData;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public interface ICalcinationPurifyWetElectricityService extends IService<CalcinationPurifyWetElectricity> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param calcinationPurifyWetElectricity
     * @return
     */
    IPage<CalcinationPurifyWetElectricity> selectPage(Page<CalcinationPurifyWetElectricity> page, CalcinationPurifyWetElectricity calcinationPurifyWetElectricity);

    List<CalcinationPurifyWetElectricity> selectList(CalcinationPurifyWetElectricity calcinationPurifyWetElectricity);

    IPage<CalcinationPurifyWetElectricity> selectPageByTime(Page<CalcinationPurifyWetElectricity> page, String startDate, String endDate);

    IPage<CalcinationPurifyWetElectricity> getBrokenLineGraph(Page<CalcinationPurifyWetElectricity> page, String startDate, String endDate);

    void deleteAll();
     /** 功能描述:
     *[startTime, endTime] bs==1 所有数据 白色bs==0 只取小时数据
     * @return: java.util.List<com.hkts.naturalgas.base.entity.CalcinationPurifyWetElectricity>
     * @Author: 杨春科
     * @Date: 2021-06-12 14:03
     * @Description //TODO
     */
    List<CalcinationPurifyWetElectricity> selectListByTime(LocalDateTime startTime, LocalDateTime endTime,String bs);

    CalcinationPurifyWetElectricity selectByDateAndTime(String s, String stringCellValue);
}